#!/usr/bin/

docker stop business_test

docker rm business_test

docker rmi mczhou/business_test:1.0.1


docker build -t mczhou/business_test:1.0.1 .

docker run -d \
 -p 19090:9090 \
 -v /home/apps/business_test/test/config/bootstrap.yml:/home/apps/config/bootstrap.yml \
 -v /home/apps/business_test/test/logs:/home/apps/logs \
 -e "JAVA_OPTS=-javaagent:/home/apps/skywalking-agent/skywalking-agent.jar -Dskywalking.agent.service_name=auction-dev -Dskywalking.collector.backend_service=10.100.86.47:11800" \
 --user apps \
 --name="business_test"  mczhou/business_test:1.0.1